package com.bigfish.gbs.service;

import com.bigfish.gbs.entity.Resource;

import java.util.List;

/**
 * @Author Joycessh
 * @Description
 * @Date 12/13/18 11:07 AM
 */
public interface ResourceService {

    List<Resource> getApiList();

    Boolean addApi(Resource resource);

    Boolean updateApi(Resource resource);

    Boolean deleteApi(Integer id);

    List<Resource> getAuthorityApisByRoleId(Integer roleId);

    List<Resource> getNotAuthorityApisByRoleId(Integer roleId);
}
